home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 4810 / 4810.xpi / chrome / speeddial.jar / content / settings / pref-general.xul < prev    next >
Extensible Markup Language  |  2010-01-31  |  3KB  |  59 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE overlay [
  4. <!ENTITY % dialogDTD SYSTEM "chrome://speeddial/locale/prefs.dtd">
  5. %dialogDTD;
  6. <!ENTITY % windowDTD SYSTEM "chrome://speeddial/locale/window.dtd">
  7. %windowDTD;
  8. <!ENTITY % tabBrowserDTD SYSTEM "chrome://global/locale/tabbrowser.dtd">
  9. %tabBrowserDTD;
  10. ]>
  11.  
  12. <overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  13.     id="GeneralPaneOverlay">
  14.  
  15.     <prefpane id="paneGeneral" label="&main.label;" onpaneload="generalPrefInit();">
  16.         <script type="application/x-javascript" src="pref-general.js"/>
  17.         <preferences>
  18.             <preference id="pref-loadInNewWindow" name="extensions.speeddial.loadInNewWindow" type="bool"/>
  19.             <preference id="pref-loadInNewTab" name="extensions.speeddial.loadInNewTab" type="bool"/>
  20.             <preference id="pref-showInTabContextMenu" name="extensions.speeddial.showInTabContextMenu" type="bool"/>
  21.             <preference id="pref-showInAreaContextMenu" name="extensions.speeddial.showInAreaContextMenu" type="bool"/>
  22.             <preference id="pref-showInBookmarksMenu" name="extensions.speeddial.showInBookmarksMenu" type="bool"/>
  23.             <preference id="pref-defaultRefreshInterval" name="extensions.speeddial.defaultRefreshInterval" type="int"/>
  24.             <preference id="pref-enableGroups" name="extensions.speeddial.enableGroups" type="bool"/>
  25.             <preference id="pref-focusElement" name="extensions.speeddial.focusElement" type="int"/>
  26.         </preferences>
  27.         <groupbox>
  28.             <caption label="&layout.caption;"/>
  29.             <hbox flex="1" align="center">
  30.                 <checkbox id="enableGroups" label="&enableGroups.label;" preference="pref-enableGroups" oncommand="enableGroupsChanged();"/>
  31.                 <spacer flex="1"/>
  32.                 <button id="organizeGroups" label="&organizeGroups.label;" onclick="openOrganizeGroups();"/>
  33.             </hbox>
  34.         </groupbox>
  35.         <groupbox>
  36.             <caption label="&speedDialLoad.caption;"/>
  37.             <checkbox id="loadInNewWindow" label="&loadInNewWindow.label;" preference="pref-loadInNewWindow"/>
  38.             <checkbox id="loadInNewTab" label="&loadInNewTab.label;" preference="pref-loadInNewTab"/>
  39.             <hbox align="center" flex="1">
  40.                 <label value="&focusElement.label;" control="focusElement"/>
  41.                 <menulist flex="0" id="focusElement" preference="pref-focusElement">
  42.                     <menupopup>
  43.                         <menuitem value="0" label="&focusAddressBar.option;"/>
  44.                         <menuitem value="1" label="&focusSearchBar.option;"/>
  45.                         <menuitem value="2" label="&noFocus.option;"/>
  46.                     </menupopup>
  47.                 </menulist>
  48.                 <spacer flex="1"/>
  49.             </hbox>
  50.         </groupbox>
  51.         <groupbox>
  52.             <caption label="&speedDialAccess.caption;"/>
  53.             <checkbox id="showInAreaContextMenu" label="&showInAreaContextMenu.label;" preference="pref-showInAreaContextMenu"/>
  54.             <checkbox id="showInBookmarksMenu" label="&showInBookmarksMenu.label;" preference="pref-showInBookmarksMenu"/>
  55.             <checkbox id="showInTabContextMenu" label="&showInTabContextMenu.label;" preference="pref-showInTabContextMenu"/>
  56.         </groupbox>
  57.     </prefpane>
  58. </overlay>
  59.